package ca.esdot.ane.intent.functions;

import android.app.Activity;

import com.adobe.fre.FREContext;
import com.adobe.fre.FREFunction;
import com.adobe.fre.FREObject;
import ca.esdot.ane.intent.IntentContext;

public class InitFunction implements FREFunction {
	
	IntentContext context;
	
	@Override
	public FREObject call(FREContext context, FREObject[] params) {
		this.context = (IntentContext) context;
		//Activity activity = this.context.getActivity();
		this.context.initComplete = true;
		return null;
	}

}
